package com.ruoyi.drugs.service.impl;

import com.ruoyi.drugs.domain.Storage;
import com.ruoyi.drugs.mapper.DruStorageMapper;
import com.ruoyi.drugs.service.IDruStorageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DruStorageServiceImpl implements IDruStorageService {
    @Autowired
    private DruStorageMapper storageMapper;
    //新增
    @Override
    public int insertStorage(Storage storage) {

        return storageMapper.insertStorage(storage);
    }
}
